package org.groupg.project.configs;

import org.flywaydb.core.Flyway;

public class FlywayConfig {
    Flyway flyway = null;

    public synchronized Flyway getFlyway() {
        if (flyway == null){
            flyway = Flyway.configure().load();
//            flyway.getConfiguration().getDataSource().
        }
        return flyway;
    }
}
